import React from 'react';

class Special extends React.Component {

	constructor(props) {
	  super(props);
	  this.state = {};
	}

	render() {
		return (
			<div className="fl_g" width="24.9%">
				<div className="flgw">
					<div className="fl_icn_g">
						<a href={"postlist?categoryid="+this.props.obj.category.id+"&typeid="+this.props.obj.id}>
							<img src={this.props.img?this.props.img:"http://img.htmlsucai.com/common/35/common_78_icon.png"} width="64px" height="64px" align="left" alt=""/>
						</a>
					</div>
					<dl className="band">
						<dt><a href="#">{this.props.title}</a></dt>
						<dd className="dd">
							<em>{this.props.obj.description!=null?this.props.obj.description:'没有描述'}</em>
						</dd>
						<dd>
							<em>专区所属: <a href={"postlist?categoryid="+this.props.obj.category.id}>{this.props.obj.category.categoryName}</a></em>
						</dd>
					</dl>
				</div>
			</div>
		);
	}

}

export default Special;